import Http from '@/http';

export function listApi() {
    return Http.get('rechargeOption/list')
}

export function saveApi(params) {
    return params.id ? Http.put('rechargeOption/update/' + params.id, params) : Http.post('rechargeOption/add', params)
}

export function delApi(id) {
    return Http.delete('rechargeOption/del/' + id)
}